from selenium import webdriver
import pytest
from po.Page.Page import Page
from po.Page.Page2 import Page2
import json
@pytest.fixture
def driver():
    driver=webdriver.Firefox()
    driver.maximize_window()
    driver.implicitly_wait(3)
    yield driver
    driver.quit()
def test_126youxiang(driver):
    po=Page(driver)
    po.test_login()
    po2 = Page2(driver)
    po2.test_126xiexin()
if __name__ == '__main__':
    pytest.main()